#include "DlgSetup.h"
#include <stdio.h>
DlgSetup::DlgSetup(QWidget *parent)
    : QDialog(parent)
{
        ui.setupUi(this);
        unsigned long add;
        size_t BufSize;
        BufSize=20;
        char *buf=new char(BufSize);
        for(add=0x200;add<0x3f1;add+=0x10)
        {
            ::snprintf(buf, BufSize, "%XH", add);
            QString str = QString(buf);

//            QString str;
//            //str.setNum(add);
//            str=QString("%X").arg(add);
            ui.comboBox->addItem(str);
        }
//        QString status = QString("Processing file %1 of %2: %3")
//                             .arg(i).arg(total).arg(fileName);

}
